package mtgGameObjects.mtgGameTypes.mtgGameColors;

public class MtgGameColorRed extends MtgGameColor {

	private static MtgGameColorRed color;
	private final static String colorName = "red";
	
	private MtgGameColorRed(){}
	
	public static MtgGameColorRed getColor(){
		if (MtgGameColorRed.color == null) {
			synchronized(MtgGameColorRed.class) {
				if (MtgGameColorRed.color == null) {
					MtgGameColorRed.color = new MtgGameColorRed();
				}
			}
		}
		return MtgGameColorRed.color;
	}

	public static String getName() {
		return MtgGameColorRed.colorName;
	}

}
